<template>
	<view>
		<view class="header">

			<view class="welcome">
			
				<view class="hi">
					hi~
				</view>
				<view class="welcomeC">
					码农圈
				</view>
				<view class="welcomeE">
					codefarmerclub
				</view>
			</view>
			<view class="touxiang">
				<image src="../../../static/itMan.png" mode="heightFix"></image>
			</view>
		</view>
		<view class="bodyCon">
			<view class="bannerA">
				<image src="../../../static/bannerB.webp" mode="widthFix"></image>
			</view>
			<view class="smallTitle">
				快来发布文章吧
			</view>
			<view class="jumpBtn" @click="editPassage">
				现在发布
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
		editPassage(){
			uni.navigateTo({
				url: '/pages/editPassage/editPassage',
				
			});
		}
		}
	}
</script>

<style lang="scss">
	.header {
		display: flex;
		height: 150px;
		padding: 5px;
		margin: 20px;
		margin-top: 15px;
		padding: 10px;
		padding-bottom: 40px;
		font-weight: 500;
		align-items: center;
		justify-content: space-between;
		// border: 2px solid rebeccapurple;
		border-bottom: 1px solid #f1f1f1;

		.welcome {
			padding-top: 10%;
			font-size: 22px;
			margin: 10px 0px;
			color: #a1a1a1;
			height: 150px;
			.hi{
				font-style: italic;
				padding-bottom: 5%;
			}
			.welcomeC {
				font-size: 26px;
				font-weight: 800;
				color: $mk-base-color;
			}

			.welcomeE {
				font-size: 18px;
				font-weight: 400;
				font-style: italic;
				padding-top: 5%;
			}

			.back {
				margin-top: 0px;
				padding-bottom: 30px;
			}
		}

		.touxiang {
			margin-top: 30%;
			width: 100px;
			height: 100px;
			margin-left: 45px;
			overflow: hidden;
			border-radius: 50%;
			// border: 4px solid $mk-base-color;

			image {
				width: 100%;
				height: 100%;
			}
		}
	}

	.bodyCon {
		.bannerA {
			width: 80px;
			border-radius: 15px;
			margin-left: 38%;
			margin-top: 15%;
			overflow: hidden;

			// border: 4px solid $mk-base-color;
			// box-shadow: 3px 3px 10px rgb(0, 0, 0);
			image {
				width: 100%;
			}
		}
		.smallTitle{
			color: #a1a1a1;
			margin-left: 34%;
			margin-top:6%;
		}
		.jumpBtn{
			font-size: 16px;
			color: #ffffff;
			margin-left: 37%;
			margin-top:6%;
			width: 80px;
			// height: 38px;
			padding: 6px;
			border-radius: 10px;
			text-align: center;
			background-color: $mk-base-color;
		}
	}
</style>
